export default defineEventHandler(async event => {
  const userId = getCookie(event, 'userId')
  return {
    name: 'tikeyc',
    userId: userId || 1024,
    token: Date.now()
  }
})